package com.lg.wxq.config;


public class Urls {
	public static final String BASEURL="https://api.weibo.com/2/";
	public static final String JSON=".json";
	
	public static final String STATUSES="statuses/";
	public static final String HOME_TIMELINE="home_timeline";
	public static final String UPDATE="update";
	public static final String URL_HOME_TIMELINE=BASEURL+STATUSES+HOME_TIMELINE+JSON;
	public static final String URL_UPDATE=BASEURL+STATUSES+UPDATE+JSON;
	
	public static String getUrl(int taskType) {
		String url = null;
		switch (taskType) {
		case TaskType.TS_STATUSES_HOME_TIMELINE:
			url = URL_HOME_TIMELINE;
			break;
		case TaskType.TS_STATUSES_UPDATE:
			url= URL_UPDATE;
		}
		return url;
	}
	
	
}
